std::basic_ifstream::operator=
From Cppreference
< cpp | io | basic ifstream
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input/output library | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::basic_ifstream | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| basic_ifstream& operator=( basic_ifstream&& other );
|
(C++11 feature) | |
Moves the file stream. The source stream becomes of invalid state after the operation.
Contents |
[edit] Parameters
| other | - | file stream to move. other becomes of invalid state after the operation. |
[edit] Return value
*this
[edit] Example
| This section is incomplete |
[edit] See also
|
swaps two file streams (public member function) |
||